func go/types.inNode

18 uses

	go/types (current package)
		call.go#L40: 		instErrPos = inNode(ix.orig, ix.lbrack)
		call.go#L207: 			check.errorf(inNode(call, call.Rparen), WrongArgCount, "missing argument in conversion to %s", T)
		call.go#L486: 				check.errorf(inNode(call, call.Ellipsis), InvalidDotDotDot, "cannot use ... with %d-valued %s", nargs, call.Args[0])
		call.go#L513: 			check.errorf(inNode(call, call.Ellipsis), NonVariadicDotDotDot, "cannot use ... in call to non-variadic %s", call.Fun)
		call.go#L552: 				check.versionErrorf(inNode(call.Fun, ix.lbrack), go1_18, "function instantiation")
		call.go#L554: 				check.versionErrorf(inNode(call, call.Lparen), go1_18, "implicit function instantiation")
		errors.go#L283: func inNode(node ast.Node, pos token.Pos) posSpan {
		index.go#L280: 		check.error(inNode(e, e.Rbrack), InvalidSyntaxTree, "2nd and 3rd index required in 3-index slice")
		literals.go#L225: 				check.errorf(inNode(e, e.Rbrace), InvalidStructLit, "too few values in struct literal of type %s", base)
		stmt.go#L471: 			check.errorf(inNode(s, s.Arrow), InvalidSend, invalidOp+"cannot send to %s: no core type", &ch)
		stmt.go#L476: 			check.errorf(inNode(s, s.Arrow), InvalidSend, invalidOp+"cannot send to non-channel %s", &ch)
		stmt.go#L480: 			check.errorf(inNode(s, s.Arrow), InvalidSend, invalidOp+"cannot send to receive-only channel %s", &ch)
		stmt.go#L493: 			check.errorf(inNode(s, s.TokPos), InvalidSyntaxTree, "unknown inc/dec operation %s", s.Tok)
		stmt.go#L522: 				check.shortVarDecl(inNode(s, s.TokPos), s.Lhs, s.Rhs)
		stmt.go#L531: 				check.errorf(inNode(s, s.TokPos), MultiValAssignOp, "assignment operation %s requires single-valued expressions", s.Tok)
		stmt.go#L884: 	noNewVarPos := inNode(s, s.TokPos)
		typexpr.go#L292: 		check.verifyVersionf(inNode(e, ix.lbrack), go1_18, "type instantiation")
		util.go#L47: func argErrPos(call *ast.CallExpr) positioner { return inNode(call, call.Rparen) }